@import './variables.scss';

.page-padding {
  padding: 66px 0;
}

body {
  .select-active {
    color: #378bf6 !important;
  }
  .bg-color-danger {
    background: $color-danger;
  }

  .bg-color-fault {
    background: $color-fault;
  }

  .bg-color-success {
    background: $color-success;
  }

  .bg-color-screen {
    background: $color-screen;
  }

  .bg-color-normal {
    background: $color-normal;
  }
}

.page-header {
  padding: 10px 0;

  .van-icon {
    color: #000;
  }

  .van-field {
    padding: 6px 16px;
    flex: 1;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
  }
}

.van-nav-bar {
  &.page-header {
    .van-nav-bar__left {
      padding: 0 15px;

      .van-nav-bar__text {
        font-size: 24px;
        font-weight: bold;
        color: #000;
      }
    }
  }
}

.page-body {
  &--padding {
    padding: $padding-side;
  }
}

.primary-panel {
  padding: 10px;
  background: #ffffff;
  border-radius: 5px;

  &__head {
    font-size: 17px;
    color: #333;
    padding-bottom: 20px;
    font-weight: 500;
  }
}

.is-shadow {
  box-shadow: 0px 2px 20px 2px rgba(181, 200, 206, 0.5);
}

.van-nav-bar {
  z-index: 9;
}

.van-nav-bar__left {
  .van-icon {
    color: #000;
    font-size: 16px;
  }
}

.van-hairline--bottom::after {
  border: none;
}

.no-data-img {
  text-align: center;
  margin: 0 auto;
  padding: 20px;

  img {
    width: 90%;
  }
}

.my-treeselect{
  .vue-treeselect__control {
    display: none;
  }
  .vue-treeselect--open-below .vue-treeselect__menu {
    border: none!important;
  }
  .vue-treeselect__option--highlight {
    background: #fff;
  }
  .vue-treeselect__menu {
    max-height: calc(100vh - 63px) !important;
    border: none;
    box-shadow: none!important;
  }
  .vue-treeselect__checkbox--indeterminate,
  .vue-treeselect__checkbox--checked {
    border-color: #2196f3;
    background: #2196f3;
  }
  .vue-treeselect__checkbox {
    width: 16px;
    height: 16px;
  }
  .vue-treeselect__check-mark,
  .vue-treeselect__minus-mark {
    top: 3px;
    left: 3px;
  }
  .vue-treeselect__checkbox-container {
    padding-right: 4px;
    width: 28px;
  }
  .vue-treeselect__tip {
    display: none;
  }
  .vue-treeselect__option-arrow-container, .vue-treeselect__option-arrow-placeholder{
    width: 24px;
  }
}

